@keyframes fadein{
     0%{ opacity: 0; }
    100%{ opacity: 1; }
}

@mixin fadein( $time:.2s ){
    animation: fadein #{$time};
}

.fadein{
    @include fadein(.3s);
}